home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 15 / BBS in a box XV-2.iso / Files II / Prog / T / TransDisplay 3.05.sit / TransDisplay v 3.05 / Demos / C Demos / MiniDisplay / MiniDisplay.c next >
MacBinary  |  1994-02-23  |  4.0 KB  |  [TEXT/KAHL]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: MiniDisplay.c

ConfidenceProgramDetectionMatch TypeSupport
66% dexvert Compact Compressed (Unix) (archive/compact) ext Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Wed Feb 23 03:54:59 1994, modified Wed Feb 23 03:54:59 1994, creator Think C, type ASCII, 3133 bytes "MiniDisplay.c" , at 0xcbd 708 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[KAHL]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0d 4d 69 6e 69 44 69 | 73 70 6c 61 79 2e 63 00 |..MiniDi|splay.c.|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4b 41 48 | 4c 01 00 00 00 00 00 00 |.TEXTKAH|L.......|
|00000050| 00 00 00 00 00 0c 3d 00 | 00 02 c4 a9 90 ca 63 a9 |......=.|......c.|
|00000060| 90 ca 63 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..c.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 66 ce 00 00 |........|....f...|
|00000080| 2f 2a 0d 20 2a 20 4d 69 | 6e 69 44 69 73 70 6c 61 |/*. * Mi|niDispla|
|00000090| 79 20 2d 20 54 72 61 6e | 73 44 69 73 70 6c 61 79 |y - Tran|sDisplay|
|000000a0| 20 44 65 6d 6f 6e 73 74 | 72 61 74 69 6f 6e 2e 20 | Demonst|ration. |
|000000b0| 20 56 65 72 79 20 73 69 | 6d 70 6c 65 3a 20 20 6a | Very si|mple: j|
|000000c0| 75 73 74 0d 20 2a 20 64 | 65 6d 6f 6e 73 74 72 61 |ust. * d|emonstra|
|000000d0| 74 65 73 20 74 68 65 20 | 76 61 72 69 6f 75 73 20 |tes the |various |
|000000e0| 6f 75 74 70 75 74 20 63 | 61 6c 6c 73 2e 0d 20 2a |output c|alls.. *|
|000000f0| 0d 20 2a 20 54 68 65 20 | 70 72 6f 6a 65 63 74 20 |. * The |project |
|00000100| 73 68 6f 75 6c 64 20 69 | 6e 63 6c 75 64 65 20 4d |should i|nclude M|
|00000110| 69 6e 69 44 69 73 70 6c | 61 79 2e 63 20 28 74 68 |iniDispl|ay.c (th|
|00000120| 69 73 20 66 69 6c 65 29 | 2c 0d 20 2a 20 54 72 61 |is file)|,. * Tra|
|00000130| 6e 73 44 69 73 70 6c 61 | 79 2e 63 20 28 6f 72 20 |nsDispla|y.c (or |
|00000140| 61 20 70 72 6f 6a 65 63 | 74 20 6d 61 64 65 20 66 |a projec|t made f|
|00000150| 72 6f 6d 20 54 72 61 6e | 73 44 69 73 70 6c 61 79 |rom Tran|sDisplay|
|00000160| 2e 63 29 2c 0d 20 2a 20 | 54 72 61 6e 73 53 6b 65 |.c),. * |TransSke|
|00000170| 6c 2e 63 20 28 6f 72 20 | 61 20 70 72 6f 6a 65 63 |l.c (or |a projec|
|00000180| 74 20 6d 61 64 65 20 66 | 72 6f 6d 20 54 72 61 6e |t made f|rom Tran|
|00000190| 73 53 6b 65 6c 2e 63 29 | 2c 20 61 6e 64 20 4d 61 |sSkel.c)|, and Ma|
|000001a0| 63 54 72 61 70 73 2e 0d | 20 2a 0d 20 2a 20 30 34 |cTraps..| *. * 04|
|000001b0| 20 4f 63 74 20 38 36 20 | 50 61 75 6c 20 44 75 42 | Oct 86 |Paul DuB|
|000001c0| 6f 69 73 0d 20 2a 20 30 | 32 20 46 65 62 20 38 39 |ois. * 0|2 Feb 89|
|000001d0| 20 56 65 72 73 69 6f 6e | 20 31 2e 30 31 0d 20 2a | Version| 1.01. *|
|000001e0| 20 2d 20 43 68 61 6e 67 | 65 64 20 74 6f 20 77 6f | - Chang|ed to wo|
|000001f0| 72 6b 20 77 69 74 68 20 | 54 72 61 6e 73 53 6b 65 |rk with |TransSke|
|00000200| 6c 32 2e 30 20 61 6e 64 | 20 54 72 61 6e 73 44 69 |l2.0 and| TransDi|
|00000210| 73 70 6c 61 79 32 2e 30 | 2e 20 32 2d 62 79 74 65 |splay2.0|. 2-byte|
|00000220| 0d 20 2a 20 61 6e 64 20 | 34 2d 62 79 74 65 20 69 |. * and |4-byte i|
|00000230| 6e 74 65 67 65 72 20 74 | 79 70 65 73 20 61 72 65 |nteger t|ypes are|
|00000240| 20 74 79 70 65 64 65 66 | 27 65 64 20 74 6f 20 49 | typedef|'ed to I|
|00000250| 6e 74 65 67 65 72 20 61 | 6e 64 20 4c 6f 6e 67 69 |nteger a|nd Longi|
|00000260| 6e 74 20 74 6f 0d 20 2a | 20 65 61 73 65 20 70 6f |nt to. *| ease po|
|00000270| 72 74 69 6e 67 2e 0d 20 | 2a 20 31 35 20 4a 75 6e |rting.. |* 15 Jun|
|00000280| 20 39 32 20 56 65 72 73 | 69 6f 6e 20 31 2e 30 32 | 92 Vers|ion 1.02|
|00000290| 0d 20 2a 20 2d 20 4d 6f | 64 69 66 69 65 64 20 66 |. * - Mo|dified f|
|000002a0| 6f 72 20 54 72 61 6e 73 | 53 6b 65 6c 20 33 2e 30 |or Trans|Skel 3.0|
|000002b0| 30 20 61 6e 64 20 54 72 | 61 6e 73 44 69 73 70 6c |0 and Tr|ansDispl|
|000002c0| 61 79 20 33 2e 30 30 2e | 20 20 54 68 65 20 74 79 |ay 3.00.| The ty|
|000002d0| 70 65 64 65 66 73 0d 20 | 2a 20 61 72 65 20 6e 6f |pedefs. |* are no|
|000002e0| 77 20 69 6e 20 43 6f 6d | 70 69 6c 65 72 2e 68 2e |w in Com|piler.h.|
|000002f0| 0d 20 2a 20 30 36 20 4a | 75 6e 20 39 33 20 56 65 |. * 06 J|un 93 Ve|
|00000300| 72 73 69 6f 6e 20 31 2e | 30 33 0d 20 2a 20 2d 20 |rsion 1.|03. * - |
|00000310| 43 6f 6e 76 65 72 73 69 | 6f 6e 20 66 6f 72 20 54 |Conversi|on for T|
|00000320| 48 49 4e 4b 20 43 20 36 | 2e 30 2e 0d 20 2a 20 30 |HINK C 6|.0.. * 0|
|00000330| 34 20 4a 61 6e 20 39 34 | 0d 20 2a 20 2d 20 55 6e |4 Jan 94|. * - Un|
|00000340| 64 69 64 20 49 6e 74 65 | 67 65 72 2f 4c 6f 6e 67 |did Inte|ger/Long|
|00000350| 49 6e 74 20 74 79 70 65 | 20 73 74 75 66 66 20 62 |Int type| stuff b|
|00000360| 61 63 6b 20 74 6f 20 73 | 68 6f 72 74 2f 6c 6f 6e |ack to s|hort/lon|
|00000370| 67 2e 0d 20 2a 20 31 38 | 20 4a 61 6e 20 39 34 0d |g.. * 18| Jan 94.|
|00000380| 20 2a 20 2d 20 43 68 61 | 6e 67 65 64 20 63 61 6c | * - Cha|nged cal|
|00000390| 6c 73 20 74 6f 20 44 69 | 73 70 6c 61 79 49 6e 74 |ls to Di|splayInt|
|000003a0| 28 29 2f 44 69 73 70 6c | 61 79 48 65 78 49 6e 74 |()/Displ|ayHexInt|
|000003b0| 28 29 20 69 6e 74 6f 20 | 63 61 6c 6c 73 20 74 6f |() into |calls to|
|000003c0| 0d 20 2a 20 44 69 73 70 | 6c 61 79 53 68 6f 72 74 |. * Disp|layShort|
|000003d0| 28 29 2f 44 69 73 70 6c | 61 79 48 65 78 53 68 6f |()/Displ|ayHexSho|
|000003e0| 72 74 28 29 2e 20 20 41 | 64 64 65 64 20 63 61 6c |rt(). A|dded cal|
|000003f0| 6c 73 20 66 6f 72 20 44 | 69 73 70 6c 61 79 43 53 |ls for D|isplayCS|
|00000400| 74 72 69 6e 67 28 29 0d | 20 2a 20 61 6e 64 20 44 |tring().| * and D|
|00000410| 69 73 70 6c 61 79 4f 53 | 54 79 70 65 28 29 2e 0d |isplayOS|Type()..|
|00000420| 20 2a 20 32 31 20 46 65 | 62 20 39 34 0d 20 2a 20 | * 21 Fe|b 94. * |
|00000430| 2d 20 55 70 64 61 74 65 | 64 20 66 6f 72 20 54 72 |- Update|d for Tr|
|00000440| 61 6e 73 53 6b 65 6c 20 | 33 2e 31 31 2c 20 54 72 |ansSkel |3.11, Tr|
|00000450| 61 6e 73 44 69 73 70 6c | 61 79 20 33 2e 30 35 2e |ansDispl|ay 3.05.|
|00000460| 0d 20 2a 2f 0d 0d 23 20 | 69 6e 63 6c 75 64 65 09 |. */..# |include.|
|00000470| 22 54 72 61 6e 73 53 6b | 65 6c 2e 68 22 0d 0d 23 |"TransSk|el.h"..#|
|00000480| 20 69 6e 63 6c 75 64 65 | 09 22 54 72 61 6e 73 44 | include|."TransD|
|00000490| 69 73 70 6c 61 79 2e 68 | 22 0d 0d 0d 23 20 64 65 |isplay.h|"...# de|
|000004a0| 66 69 6e 65 09 66 69 6c | 65 4d 65 6e 75 4e 75 6d |fine.fil|eMenuNum|
|000004b0| 09 28 73 6b 65 6c 41 70 | 70 6c 65 4d 65 6e 75 49 |.(skelAp|pleMenuI|
|000004c0| 44 2b 31 29 0d 0d 73 74 | 61 74 69 63 20 70 61 73 |D+1)..st|atic pas|
|000004d0| 63 61 6c 20 76 6f 69 64 | 0d 44 6f 46 69 6c 65 4d |cal void|.DoFileM|
|000004e0| 65 6e 75 20 28 73 68 6f | 72 74 20 69 74 65 6d 29 |enu (sho|rt item)|
|000004f0| 0d 7b 0d 09 53 6b 65 6c | 53 74 6f 70 45 76 65 6e |.{..Skel|StopEven|
|00000500| 74 4c 6f 6f 70 20 28 29 | 3b 09 09 09 09 2f 2a 20 |tLoop ()|;..../* |
|00000510| 74 65 6c 6c 20 53 6b 65 | 6c 4d 61 69 6e 20 74 6f |tell Ske|lMain to|
|00000520| 20 71 75 69 74 20 2a 2f | 0d 7d 0d 0d 0d 69 6e 74 | quit */|.}...int|
|00000530| 0d 6d 61 69 6e 20 28 76 | 6f 69 64 29 0d 7b 0d 52 |.main (v|oid).{.R|
|00000540| 65 63 74 09 09 72 3b 0d | 4d 65 6e 75 48 61 6e 64 |ect..r;.|MenuHand|
|00000550| 6c 65 09 6d 3b 0d 57 69 | 6e 64 6f 77 50 74 72 09 |le.m;.Wi|ndowPtr.|
|00000560| 77 3b 0d 0d 09 53 6b 65 | 6c 49 6e 69 74 20 28 28 |w;...Ske|lInit ((|
|00000570| 53 6b 65 6c 49 6e 69 74 | 50 61 72 61 6d 73 50 74 |SkelInit|ParamsPt|
|00000580| 72 29 20 6e 69 6c 29 3b | 09 09 09 2f 2a 20 69 6e |r) nil);|.../* in|
|00000590| 69 74 69 61 6c 69 7a 65 | 20 2a 2f 0d 09 53 6b 65 |itialize| */..Ske|
|000005a0| 6c 41 70 70 6c 65 20 28 | 6e 69 6c 2c 20 6e 69 6c |lApple (|nil, nil|
|000005b0| 29 3b 09 09 09 09 09 2f | 2a 20 68 61 6e 64 6c 65 |);...../|* handle|
|000005c0| 20 64 65 73 6b 20 61 63 | 63 65 73 73 6f 72 69 65 | desk ac|cessorie|
|000005d0| 73 20 2a 2f 0d 0d 09 6d | 20 3d 20 4e 65 77 4d 65 |s */...m| = NewMe|
|000005e0| 6e 75 20 28 66 69 6c 65 | 4d 65 6e 75 4e 75 6d 2c |nu (file|MenuNum,|
|000005f0| 20 22 5c 70 46 69 6c 65 | 22 29 3b 09 2f 2a 20 63 | "\pFile|");./* c|
|00000600| 72 65 61 74 65 20 6d 65 | 6e 75 20 61 6e 64 20 74 |reate me|nu and t|
|00000610| 65 6c 6c 20 54 72 61 6e | 73 53 6b 65 6c 20 2a 2f |ell Tran|sSkel */|
|00000620| 0d 09 41 70 70 65 6e 64 | 4d 65 6e 75 20 28 6d 2c |..Append|Menu (m,|
|00000630| 20 22 5c 70 51 75 69 74 | 2f 51 22 29 3b 09 09 09 | "\pQuit|/Q");...|
|00000640| 09 2f 2a 20 74 6f 20 68 | 61 6e 64 6c 65 20 69 74 |./* to h|andle it|
|00000650| 20 2a 2f 0d 09 28 76 6f | 69 64 29 20 53 6b 65 6c | */..(vo|id) Skel|
|00000660| 4d 65 6e 75 20 28 6d 2c | 20 44 6f 46 69 6c 65 4d |Menu (m,| DoFileM|
|00000670| 65 6e 75 2c 20 6e 69 6c | 2c 20 66 61 6c 73 65 2c |enu, nil|, false,|
|00000680| 20 74 72 75 65 29 3b 0d | 0d 09 53 65 74 52 65 63 | true);.|..SetRec|
|00000690| 74 20 28 26 72 2c 20 31 | 30 30 2c 20 37 35 2c 20 |t (&r, 1|00, 75, |
|000006a0| 34 32 30 2c 20 32 37 35 | 29 3b 0d 09 77 20 3d 20 |420, 275|);..w = |
|000006b0| 4e 65 77 44 57 69 6e 64 | 6f 77 20 28 26 72 2c 20 |NewDWind|ow (&r, |
|000006c0| 22 5c 70 4d 69 6e 69 44 | 69 73 70 6c 61 79 22 2c |"\pMiniD|isplay",|
|000006d0| 20 66 61 6c 73 65 2c 20 | 28 57 69 6e 64 6f 77 50 | false, |(WindowP|
|000006e0| 74 72 29 20 2d 31 4c 2c | 20 66 61 6c 73 65 2c 20 |tr) -1L,| false, |
|000006f0| 30 4c 29 3b 0d 0d 09 69 | 66 20 28 77 20 3d 3d 20 |0L);...i|f (w == |
|00000700| 6e 69 6c 29 0d 09 7b 0d | 09 09 53 6b 65 6c 43 6c |nil)..{.|..SkelCl|
|00000710| 65 61 6e 75 70 20 28 29 | 3b 0d 09 09 45 78 69 74 |eanup ()|;...Exit|
|00000720| 54 6f 53 68 65 6c 6c 20 | 28 29 3b 0d 09 7d 0d 0d |ToShell |();..}..|
|00000730| 09 44 69 73 70 6c 61 79 | 53 74 72 69 6e 67 20 28 |.Display|String (|
|00000740| 22 5c 70 54 68 69 73 20 | 69 73 20 4d 69 6e 69 44 |"\pThis |is MiniD|
|00000750| 69 73 70 6c 61 79 2c 20 | 61 20 6d 69 6e 69 6d 61 |isplay, |a minima|
|00000760| 6c 20 64 65 6d 6f 6e 73 | 74 72 61 74 69 6f 6e 20 |l demons|tration |
|00000770| 6f 66 20 22 29 3b 0d 09 | 44 69 73 70 6c 61 79 53 |of ");..|DisplayS|
|00000780| 74 72 69 6e 67 20 28 22 | 5c 70 54 72 61 6e 73 44 |tring ("|\pTransD|
|00000790| 69 73 70 6c 61 79 2e 20 | 20 54 68 65 20 66 6f 6c |isplay. | The fol|
|000007a0| 6c 6f 77 69 6e 67 20 74 | 79 70 65 73 20 6f 66 20 |lowing t|ypes of |
|000007b0| 6f 75 74 70 75 74 20 6d | 61 79 20 22 29 3b 0d 09 |output m|ay ");..|
|000007c0| 44 69 73 70 6c 61 79 53 | 74 72 69 6e 67 20 28 22 |DisplayS|tring ("|
|000007d0| 5c 70 62 65 20 77 72 69 | 74 74 65 6e 20 77 69 74 |\pbe wri|tten wit|
|000007e0| 68 20 74 68 65 20 62 75 | 69 6c 74 2d 69 6e 20 6f |h the bu|ilt-in o|
|000007f0| 75 74 70 75 74 20 63 61 | 6c 6c 73 3a 22 29 3b 0d |utput ca|lls:");.|
|00000800| 09 44 69 73 70 6c 61 79 | 4c 6e 20 28 29 3b 0d 0d |.Display|Ln ();..|
|00000810| 09 44 69 73 70 6c 61 79 | 4c 6e 20 28 29 3b 0d 09 |.Display|Ln ();..|
|00000820| 44 69 73 70 6c 61 79 53 | 74 72 69 6e 67 20 28 22 |DisplayS|tring ("|
|00000830| 5c 70 41 72 62 69 74 72 | 61 72 79 20 6c 65 6e 67 |\pArbitr|ary leng|
|00000840| 74 68 20 74 65 78 74 3a | 20 22 29 3b 0d 09 44 69 |th text:| ");..Di|
|00000850| 73 70 6c 61 79 54 65 78 | 74 20 28 22 53 6f 6d 65 |splayTex|t ("Some|
|00000860| 20 74 65 78 74 22 2c 20 | 39 4c 29 3b 0d 09 44 69 | text", |9L);..Di|
|00000870| 73 70 6c 61 79 4c 6e 20 | 28 29 3b 0d 09 44 69 73 |splayLn |();..Dis|
|00000880| 70 6c 61 79 53 74 72 69 | 6e 67 20 28 22 5c 70 50 |playStri|ng ("\pP|
|00000890| 61 73 63 61 6c 20 73 74 | 72 69 6e 67 3a 20 22 29 |ascal st|ring: ")|
|000008a0| 3b 0d 09 44 69 73 70 6c | 61 79 53 74 72 69 6e 67 |;..Displ|ayString|
|000008b0| 20 28 22 5c 70 5c 22 5c | 5c 70 54 68 69 73 20 69 | ("\p\"\|\pThis i|
|000008c0| 73 20 61 20 50 61 73 63 | 61 6c 20 73 74 72 69 6e |s a Pasc|al strin|
|000008d0| 67 2e 5c 22 22 29 3b 0d | 09 44 69 73 70 6c 61 79 |g.\"");.|.Display|
|000008e0| 4c 6e 20 28 29 3b 0d 09 | 44 69 73 70 6c 61 79 53 |Ln ();..|DisplayS|
|000008f0| 74 72 69 6e 67 20 28 22 | 5c 70 43 20 73 74 72 69 |tring ("|\pC stri|
|00000900| 6e 67 3a 20 22 29 3b 0d | 09 44 69 73 70 6c 61 79 |ng: ");.|.Display|
|00000910| 43 53 74 72 69 6e 67 20 | 28 22 5c 22 54 68 69 73 |CString |("\"This|
|00000920| 20 69 73 20 61 20 43 20 | 73 74 72 69 6e 67 2e 5c | is a C |string.\|
|00000930| 22 22 29 3b 0d 09 44 69 | 73 70 6c 61 79 4c 6e 20 |"");..Di|splayLn |
|00000940| 28 29 3b 0d 09 44 69 73 | 70 6c 61 79 53 74 72 69 |();..Dis|playStri|
|00000950| 6e 67 20 28 22 5c 70 43 | 68 61 72 3a 20 27 22 29 |ng ("\pC|har: '")|
|00000960| 3b 0d 09 44 69 73 70 6c | 61 79 43 68 61 72 20 28 |;..Displ|ayChar (|
|00000970| 27 78 27 29 3b 0d 09 44 | 69 73 70 6c 61 79 53 74 |'x');..D|isplaySt|
|00000980| 72 69 6e 67 20 28 22 5c | 70 27 20 20 20 20 48 65 |ring ("\|p' He|
|00000990| 78 20 63 68 61 72 3a 20 | 22 29 3b 0d 09 44 69 73 |x char: |");..Dis|
|000009a0| 70 6c 61 79 48 65 78 43 | 68 61 72 20 28 27 78 27 |playHexC|har ('x'|
|000009b0| 29 3b 0d 09 44 69 73 70 | 6c 61 79 4c 6e 20 28 29 |);..Disp|layLn ()|
|000009c0| 3b 0d 09 44 69 73 70 6c | 61 79 53 74 72 69 6e 67 |;..Displ|ayString|
|000009d0| 20 28 22 5c 70 53 68 6f | 72 74 3a 20 22 29 3b 0d | ("\pSho|rt: ");.|
|000009e0| 09 44 69 73 70 6c 61 79 | 53 68 6f 72 74 20 28 31 |.Display|Short (1|
|000009f0| 30 32 33 29 3b 0d 09 44 | 69 73 70 6c 61 79 53 74 |023);..D|isplaySt|
|00000a00| 72 69 6e 67 20 28 22 5c | 70 20 20 48 65 78 20 73 |ring ("\|p Hex s|
|00000a10| 68 6f 72 74 3a 20 22 29 | 3b 0d 09 44 69 73 70 6c |hort: ")|;..Displ|
|00000a20| 61 79 48 65 78 53 68 6f | 72 74 20 28 31 30 32 33 |ayHexSho|rt (1023|
|00000a30| 29 3b 0d 09 44 69 73 70 | 6c 61 79 4c 6e 20 28 29 |);..Disp|layLn ()|
|00000a40| 3b 0d 09 44 69 73 70 6c | 61 79 53 74 72 69 6e 67 |;..Displ|ayString|
|00000a50| 20 28 22 5c 70 4c 6f 6e | 67 3a 20 22 29 3b 0d 09 | ("\pLon|g: ");..|
|00000a60| 44 69 73 70 6c 61 79 4c | 6f 6e 67 20 28 33 32 37 |DisplayL|ong (327|
|00000a70| 36 38 4c 29 3b 0d 09 44 | 69 73 70 6c 61 79 53 74 |68L);..D|isplaySt|
|00000a80| 72 69 6e 67 20 28 22 5c | 70 20 20 48 65 78 20 6c |ring ("\|p Hex l|
|00000a90| 6f 6e 67 3a 20 22 29 3b | 0d 09 44 69 73 70 6c 61 |ong: ");|..Displa|
|00000aa0| 79 48 65 78 4c 6f 6e 67 | 20 28 33 32 37 36 38 4c |yHexLong| (32768L|
|00000ab0| 29 3b 0d 09 44 69 73 70 | 6c 61 79 4c 6e 20 28 29 |);..Disp|layLn ()|
|00000ac0| 3b 0d 09 44 69 73 70 6c | 61 79 53 74 72 69 6e 67 |;..Displ|ayString|
|00000ad0| 20 28 22 5c 70 42 6f 6f | 6c 65 61 6e 3a 20 22 29 | ("\pBoo|lean: ")|
|00000ae0| 3b 0d 09 44 69 73 70 6c | 61 79 42 6f 6f 6c 65 61 |;..Displ|ayBoolea|
|00000af0| 6e 20 28 74 72 75 65 29 | 3b 0d 09 44 69 73 70 6c |n (true)|;..Displ|
|00000b00| 61 79 53 74 72 69 6e 67 | 20 28 22 5c 70 2c 20 22 |ayString| ("\p, "|
|00000b10| 29 3b 0d 09 44 69 73 70 | 6c 61 79 42 6f 6f 6c 65 |);..Disp|layBoole|
|00000b20| 61 6e 20 28 66 61 6c 73 | 65 29 3b 0d 09 44 69 73 |an (fals|e);..Dis|
|00000b30| 70 6c 61 79 4c 6e 20 28 | 29 3b 0d 09 44 69 73 70 |playLn (|);..Disp|
|00000b40| 6c 61 79 53 74 72 69 6e | 67 20 28 22 5c 70 4f 53 |layStrin|g ("\pOS|
|00000b50| 20 74 65 78 74 20 74 79 | 70 65 3a 20 27 22 29 3b | text ty|pe: '");|
|00000b60| 0d 09 44 69 73 70 6c 61 | 79 4f 53 54 79 70 65 20 |..Displa|yOSType |
|00000b70| 28 27 54 45 58 54 27 29 | 3b 0d 09 44 69 73 70 6c |('TEXT')|;..Displ|
|00000b80| 61 79 43 68 61 72 20 28 | 27 5c 27 27 29 3b 0d 09 |ayChar (|'\'');..|
|00000b90| 44 69 73 70 6c 61 79 4c | 6e 20 28 29 3b 0d 09 44 |DisplayL|n ();..D|
|00000ba0| 69 73 70 6c 61 79 53 74 | 72 69 6e 67 20 28 22 5c |isplaySt|ring ("\|
|00000bb0| 70 43 61 72 72 69 61 67 | 65 20 72 65 74 75 72 6e |pCarriag|e return|
|00000bc0| 2e 22 29 3b 0d 09 44 69 | 73 70 6c 61 79 4c 6e 20 |.");..Di|splayLn |
|00000bd0| 28 29 3b 0d 09 44 69 73 | 70 6c 61 79 4c 6e 20 28 |();..Dis|playLn (|
|00000be0| 29 3b 0d 09 44 69 73 70 | 6c 61 79 53 74 72 69 6e |);..Disp|layStrin|
|00000bf0| 67 20 28 22 5c 70 53 65 | 6c 65 63 74 20 51 75 69 |g ("\pSe|lect Qui|
|00000c00| 74 20 66 72 6f 6d 20 74 | 68 65 20 46 69 6c 65 20 |t from t|he File |
|00000c10| 6d 65 6e 75 20 74 6f 20 | 65 78 69 74 2e 22 29 3b |menu to |exit.");|
|00000c20| 0d 09 53 65 74 44 57 69 | 6e 64 6f 77 50 6f 73 20 |..SetDWi|ndowPos |
|00000c30| 28 77 2c 20 30 29 3b 09 | 2f 2a 20 73 63 72 6f 6c |(w, 0);.|/* scrol|
|00000c40| 6c 20 62 61 63 6b 20 74 | 6f 20 74 6f 70 20 2a 2f |l back t|o top */|
|00000c50| 0d 09 53 68 6f 77 57 69 | 6e 64 6f 77 20 28 77 29 |..ShowWi|ndow (w)|
|00000c60| 3b 0d 0d 09 53 6b 65 6c | 45 76 65 6e 74 4c 6f 6f |;...Skel|EventLoo|
|00000c70| 70 20 28 29 3b 09 09 09 | 09 2f 2a 20 6c 6f 6f 70 |p ();...|./* loop|
|00000c80| 20 27 74 69 6c 20 51 75 | 69 74 20 73 65 6c 65 63 | 'til Qu|it selec|
|00000c90| 74 65 64 20 2a 2f 0d 09 | 53 6b 65 6c 43 6c 65 61 |ted */..|SkelClea|
|00000ca0| 6e 75 70 20 28 29 3b 09 | 09 09 09 09 2f 2a 20 63 |nup ();.|..../* c|
|00000cb0| 6c 65 61 6e 20 75 70 20 | 2a 2f 0d 7d 0d 00 00 00 |lean up |*/.}....|
|00000cc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d00| 00 00 01 00 00 00 02 7e | 00 00 01 7e 00 00 00 46 |.......~|...~...F|
|00000d10| fa 00 54 2f 08 20 6f 00 | 08 2f 68 00 02 00 08 20 |..T/. o.|./h.... |
|00000d20| 3a 00 76 66 00 00 3c 20 | 78 02 a6 70 0c d0 90 b0 |:.vf..< |x..p....|
|00000d30| 0d 4d 69 6e 69 44 69 73 | 70 6c 61 79 2e 63 02 00 |.MiniDis|play.c..|
|00000d40| 00 00 50 61 72 74 53 49 | 54 78 00 00 00 00 00 00 |..PartSI|Tx......|
|00000d50| 00 00 50 61 72 74 53 49 | 54 78 00 00 00 00 00 00 |..PartSI|Tx......|
|00000d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d70| 00 00 a9 9f 75 84 00 00 | 00 00 00 00 02 c4 ca 4e |....u...|.......N|
|00000d80| 75 30 01 a1 46 22 68 00 | 08 a0 1f 30 01 20 49 a0 |u0..F"h.|...0. I.|
|00000d90| 47 4e 75 00 00 00 00 00 | 00 00 00 4e 75 20 3a ff |GNu.....|...Nu :.|
|00000da0| f4 67 04 20 40 42 90 4e | 75 00 00 17 ca 00 00 00 |.g. @B.N|u.......|
|00000db0| 00 00 00 17 ce 00 00 00 | 00 00 00 17 f2 00 00 00 |........|........|
|00000dc0| 00 00 00 17 f2 00 00 00 | 00 00 00 17 fa 00 00 00 |........|........|
|00000dd0| 00 00 00 17 fa 00 00 00 | 00 00 00 17 fe 00 00 00 |........|........|
|00000de0| 00 00 00 18 24 00 00 00 | 00 00 00 18 24 00 00 00 |....$...|....$...|
|00000df0| 00 00 00 18 50 00 00 00 | 00 00 00 18 64 00 00 00 |....P...|....d...|
|00000e00| 00 00 01 52 00 28 00 28 | 02 17 01 3c 00 18 00 00 |...R.(.(|...<....|
|00000e10| 03 16 00 00 03 20 00 00 | 00 09 00 04 00 09 00 00 |..... ..|........|
|00000e20| 06 4d 6f 6e 61 63 6f 00 | 00 00 00 00 00 00 00 00 |.Monaco.|........|
|00000e30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e60| 04 00 00 03 00 00 00 48 | 00 48 00 00 00 00 03 00 |.......H|.H......|
|00000e70| 02 4c ff f4 ff f4 03 0c | 02 58 03 47 05 28 03 fc |.L......|.X.G.(..|
|00000e80| 00 02 00 00 00 48 00 48 | 00 00 00 00 03 00 02 4c |.....H.H|.......L|
|00000e90| 00 01 00 00 00 64 00 00 | 00 01 00 03 03 03 00 00 |.....d..|........|
|00000ea0| 00 01 27 0f 00 01 00 01 | 00 00 00 00 00 00 00 00 |..'.....|........|
|00000eb0| 00 00 00 00 68 08 00 19 | 01 90 00 00 00 00 00 00 |....h...|........|
|00000ec0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ed0| 00 00 00 00 00 00 00 00 | 00 00 00 04 00 09 00 00 |........|........|
|00000ee0| 06 4d 6f 6e 61 63 6f 08 | 00 00 00 00 00 00 00 00 |.Monaco.|........|
|00000ef0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f20| 00 04 01 00 00 01 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f50| 00 00 00 00 00 00 00 00 | 00 24 00 02 00 00 04 59 |........|.$.....Y|
|00000f60| 00 00 04 63 0b 44 6f 46 | 69 6c 65 4d 65 6e 75 00 |...c.DoF|ileMenu.|
|00000f70| 00 00 04 b1 00 00 04 b5 | 05 6d 61 69 6e 00 00 00 |........|.main...|
|00000f80| 01 00 00 00 02 7e 00 00 | 01 7e 00 00 00 46 00 4c |.....~..|.~...F.L|
|00000f90| bf 94 09 ec 00 00 00 1c | 00 46 00 01 42 42 53 52 |........|.F..BBSR|
|00000fa0| 00 00 00 12 4d 50 53 52 | 00 00 00 1e 01 03 ff ff |....MPSR|........|
|00000fb0| 00 00 00 00 00 00 00 00 | 03 ef ff ff 00 00 01 56 |........|.......V|
|00000fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+